package triannon.client.sprites.renderer;

import java.awt.Graphics2D;
import java.awt.image.BufferedImage;

public class ImageRenderer implements IRenderer {
	private BufferedImage bi;

	public ImageRenderer(BufferedImage bi) {
		this.bi = bi;
	}

	@Override
	public void paint(Graphics2D g, int x, int y) {
		g.drawImage(bi, x, y, null);
	}

}
